//
//  YFGoodsTypeView.h
//  QuanJieShopProject
//
//  Created by apple on 2018/5/5.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YFGoodsTypeView : UIView

- (void)show;

- (void)hidden;
- (void)detailTypeUpdateWithDic:(NSMutableDictionary *)dict;
// 规格类型数组
@property (nonatomic, strong) NSArray <YFGoodsTypeModel *>*goodsTypeArr;
// 不同规格,不同价格
@property (nonatomic, strong) NSArray <YFGoodsPriceModel *>*goodsPriceArr;

@property (nonatomic, strong) NSArray *selectedArr;
@property (nonatomic, strong) YFGoodsPriceModel *model;
@property (nonatomic, strong)NSMutableDictionary *goodsDic;
@property (nonatomic, assign)BOOL addToShopOrBuy;
@property (nonatomic, copy) NSString *goodsType;
@property (nonatomic, copy) void (^confirmBlock)(YFGoodsPriceModel *model,NSArray *selectedArr, NSInteger buyCount);

@end
